import requests
from bs4 import BeautifulSoup
import bs4
def get_info(url):
    result=requests.get(url)
    result.encoding=result.apparent_encoding
    soup=BeautifulSoup(result.text,'html.parser')
    trs=soup.find('ul','neirongye_lb').children
    for tr in trs:
        if isinstance(tr,bs4.element.Tag):
            print(tr('span')[0].text,tr('a')[0].text)

for page in range(1,11):
    url="https://cive.sspu.edu.cn/info/iList.jsp?cat_id=10727&cur_page=" + str(page)
    get_info(url)
